package com.lx.bean;

import java.util.Date;
import java.util.List;

public class Comment {
    private Integer commentId;

    private Integer contentId;

    private Integer uId;

    private String uName;

    private String uImage;

    private Integer state;

    private Integer praseCount;

    private Date createtime;

    private Date updatetime;

    private String content;
    private List<CommentReply> replys;


    public List<CommentReply> getReply() {
        return replys;
    }

    public void setReply(List<CommentReply> reply) {
        this.replys = reply;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "commentId=" + commentId +
                ", contentId=" + contentId +
                ", uId=" + uId +
                ", uName='" + uName + '\'' +
                ", uImage='" + uImage + '\'' +
                ", state=" + state +
                ", praseCount=" + praseCount +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", content='" + content + '\'' +
                ", replys=" + replys +
                '}';
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName == null ? null : uName.trim();
    }

    public String getuImage() {
        return uImage;
    }

    public void setuImage(String uImage) {
        this.uImage = uImage == null ? null : uImage.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getPraseCount() {
        return praseCount;
    }

    public void setPraseCount(Integer praseCount) {
        this.praseCount = praseCount;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}